﻿@model IEnumerable<KRM.Core.spFindRelatedOrderWithEmail_Result>


<input type="hidden" name="OrderRef" value="" id="hfOrderref" />
<table class="table table-bordered table-fix tbl-selected ">
    <thead>
        <tr>
            <th>OrderRef</th>
            <th>DatePlaced</th>

        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
       
            <tr style="cursor: pointer" onclick="SetValueOrderRef('@item.OrderRef')">
                <td>@item.OrderRef</td>
                <td>@string.Format("{0:dd/MM/yyy}", item.DatePlaced)</td>
            </tr>
      
        }
    </tbody>
</table>
